package com.xhs.service;

import com.mybatisflex.annotation.UseDataSource;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.xhs.dto.request.EnterprisePageParams;
import com.xhs.entity.MeEnterpriseEntity;
import com.xhs.message.ReturnResult;

/**
 * 企业信息表 服务层。
 *
 * @author xhs
 * @since 2024-07-18
 */
@UseDataSource("mybatis-flex-parent")
public interface MeEnterpriseService extends IService<MeEnterpriseEntity> {

    /**
     * 分页查询企业信息
     *
     * @param pageParams 查询条件
     * @return ReturnResult<Page < MeEnterpriseEntity>>
     */
    ReturnResult<Page<MeEnterpriseEntity>> page(EnterprisePageParams pageParams);
}
